//
//  XMLComposeCollectionViewCell.swift
//  Weibo
//
//  Created by mac on 16/5/20.
//  Copyright © 2016年 itcast. All rights reserved.
//

import UIKit

class XMLComposeCollectionViewCell: UICollectionViewCell {
    
    var imageView :UIImageView = {
    
        let view = UIImageView()
        return view
    }()
    
    override init(frame: CGRect) {
        super.init(frame: frame)
        setupUI()
    }

    required init?(coder aDecoder: NSCoder) {
        fatalError("init(coder:) has not been implemented")
    }
    
    private func setupUI() {
    
        contentView.addSubview(imageView)
        
        imageView.snp_makeConstraints { (make) -> Void in
            make.edges.equalTo(contentView).offset(UIEdgeInsetsZero)
        }
    }
    
}
